package com.zlsx.flowview.util;

import com.zlsx.flowview.accessibility.FlowAccessibilityService;

import org.greenrobot.eventbus.EventBus;

/**
 * @author zlsx
 * @time: 2019/9/7 1:17
 * @Description: EvenBus发送特定命令
 **/
public class AccessibilityUtil {
    /**
     * BACK功能
     */
    public static void onBack() {
        EventBus.getDefault().post(FlowAccessibilityService.BACK);
    }

    /**
     *HOME功能
     */
    public static void onHome() {
        EventBus.getDefault().post(FlowAccessibilityService.HOME);
    }
}
